package com.xinzhi.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Bean;

@Data
@NoArgsConstructor
@AllArgsConstructor

public class AlipayBean {
    //订单编号，必填
    private String out_trade_no;
    //订单名称，必填
    private String subject;
    //付款金额，必填
    //StringBuffer是可变类，和线程安全的字符串操作类，任何对它指向的字符串的操作都不会产生新的对象
    private StringBuffer total_amount;
    //商品描述，可空
    private String body;
    //超时时间参数
    private String timeout_express = "10m";
    //电脑网站支付与APP支付的同名参数，取值不同
    private String product_code = "FAST_INSTANT_TRADE_PAY";

}